# -*-coding:utf-8-*-

import json
import os.path

with open('../file_location.json', 'r') as load_file:
    CONFIG = json.load(load_file)
def process_data():
    data_location = CONFIG["location"]["data_root"]
    data_origin_filename = CONFIG["location"]["data_origin"]
    data_after_process_filename = CONFIG["location"]["data_after_process"]

    data_after_process = os.path.join(data_location, data_after_process_filename)

    with open(data_after_process, 'r', encoding='UTF-8') as f:
        lines = f.readlines()
    return lines
